﻿using System;

namespace Genko.Model
{
	public interface IMemberType
	{
		string Name
		{
			get;
		}
		
		IMemberType BaseType
		{
			get;
		}
		
		ISchemaType SchemaType
		{
			get;
		}

		Member CreateMember();

		bool CanAttachMember(Member member);
		
		bool CanDetachMember(Member member);
	}
}
